package com.showsu.editor.entity.vo.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author edison
 */
@Data
@ApiModel(value = "抖音数据对象")
public class DouyinVO extends BaseVO{

    @ApiModelProperty("视频地址")
    private String videoUrl;

    @ApiModelProperty("图集信息：包含所有图片地址")
    private List<String> images;

    @ApiModelProperty("视频地址")
    private transient String localPath;

    @ApiModelProperty("描述")
    private String remark;

    @ApiModelProperty("原始图片")
    private String originCover;

    @ApiModelProperty("分享地址")
    private String shareUrl;

    @ApiModelProperty("图集信息：包含所有图片地址")
    private List<LiveImageInfo> liveImages;

    @Data
    public static class LiveImageInfo implements Serializable {
        @ApiModelProperty("封面图")
        private String cover;
        @ApiModelProperty("live图的视频地址")
        private String url;
//        @ApiModelProperty("是否有音轨")
//        private Boolean haveAudioTrack;
    }

}
